Cadenza : Cadenza.IO Namespace

ValueReader<T> Generic Class

Documentation for this section has not yet been entered.

[System.CLSCompliant(false)]
public abstract class ValueReader<T> : IValueReader, IDisposable

Type Parameters

T
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Members

See Also: Inherited members from object.

Public Constructors

Documentation for this section has not yet been entered.

Public Methods

Dispose ()
Documentation for this section has not yet been entered.
Read (out bool) : IValueReader
Documentation for this section has not yet been entered.
Read (out byte) : IValueReader
Documentation for this section has not yet been entered.
Read (out char) : IValueReader
Documentation for this section has not yet been entered.
Read (out DateTime) : IValueReader
Documentation for this section has not yet been entered.
Read (out decimal) : IValueReader
Documentation for this section has not yet been entered.
Read (out double) : IValueReader
Documentation for this section has not yet been entered.
Read (out short) : IValueReader
Documentation for this section has not yet been entered.
Read (out int) : IValueReader
Documentation for this section has not yet been entered.
Read (out long) : IValueReader
Documentation for this section has not yet been entered.
Read (out sbyte) : IValueReader
Documentation for this section has not yet been entered.
Read (out float) : IValueReader
Documentation for this section has not yet been entered.
Read (out string) : IValueReader
Documentation for this section has not yet been entered.
Read (out ushort) : IValueReader
Documentation for this section has not yet been entered.
Read (out uint) : IValueReader
Documentation for this section has not yet been entered.
Read (out ulong) : IValueReader
Documentation for this section has not yet been entered.

Protected Methods

Dispose (bool)
Documentation for this section has not yet been entered.
GetNextItem () : T
Documentation for this section has not yet been entered.
abstract
ToBoolean (T) : bool
Documentation for this section has not yet been entered.
abstract
ToByte (T) : byte
Documentation for this section has not yet been entered.
abstract
ToChar (T) : char
Documentation for this section has not yet been entered.
abstract
ToDateTime (T) : DateTime
Documentation for this section has not yet been entered.
abstract
ToDecimal (T) : decimal
Documentation for this section has not yet been entered.
abstract
ToDouble (T) : double
Documentation for this section has not yet been entered.
abstract
ToInt16 (T) : short
Documentation for this section has not yet been entered.
abstract
ToInt32 (T) : int
Documentation for this section has not yet been entered.
abstract
ToInt64 (T) : long
Documentation for this section has not yet been entered.
ToSByte (T) : sbyte
Documentation for this section has not yet been entered.
abstract
ToSingle (T) : float
Documentation for this section has not yet been entered.
abstract
ToString (T) : string
Documentation for this section has not yet been entered.
ToUInt16 (T) : ushort
Documentation for this section has not yet been entered.
ToUInt32 (T) : uint
Documentation for this section has not yet been entered.
ToUInt64 (T) : ulong
Documentation for this section has not yet been entered.

Extension Methods

static
Just<T> (this T) : Cadenza.Maybe<T>
Create a new Cadenza.Maybe<T> instance initialized to a specified value. The returned value will not be Cadenza.Maybe<T>.Nothing.
static
Match<TSource,TResult> (this TSource, params Func<TSource, Cadenza.Maybe<TResult>>[]) : TResult
Converts the TSource instance self into a TResult.
static
Read<TSource,TValue> (this ValueReader<TSource>, out TValue) : ValueReader<TSource>
Documentation for this section has not yet been entered.
static
ToMaybe<T> (this T) : Cadenza.Maybe<T>
Create a new Cadenza.Maybe<T> instance initialized to a specified value. The returned value may be Cadenza.Maybe<T>.Nothing.
static
TraverseBreadthFirst<TSource,TResult> (this TSource, Func<TSource, TResult>, Func<TSource, IEnumerable<TSource>>) : IEnumerable<TResult>
Traverse a tree in a breadth-first fashion, converting each encountered node.
static
TraverseBreadthFirstWithParent<TSource,TResult> (this TSource, Func<TSource, TResult>, Func<TSource, IEnumerable<TSource>>) : IEnumerable<KeyValuePair<TSource, TResult>>
Traverse a tree in a breadth-first fashion, converting each encountered node.
static
TraverseDepthFirst<TSource,TResult> (this TSource, Func<TSource, TResult>, Func<TSource, IEnumerable<TSource>>) : IEnumerable<TResult>
Traverse a tree in a depth-first fashion, converting each encountered node.
static
TraverseDepthFirstWithParent<TSource,TResult> (this TSource, Func<TSource, TResult>, Func<TSource, IEnumerable<TSource>>) : IEnumerable<KeyValuePair<TSource, TResult>>
Traverse a tree in a depth-first fashion, converting each encountered node.
static
With<TSource,TResult> (this TSource, Func<TSource, TResult>) : TResult
Supports chaining otherwise temporary values.

Member Details

ValueReader Constructor

Documentation for this section has not yet been entered.

public ValueReader (IEnumerable<T> values)

Parameters

values
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Dispose Method

Documentation for this section has not yet been entered.

public void Dispose ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Dispose Method

Documentation for this section has not yet been entered.

protected virtual void Dispose (bool disposing)

Parameters

disposing
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

GetNextItem Method

Documentation for this section has not yet been entered.

protected T GetNextItem ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out bool value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out byte value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out char value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out DateTime value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out decimal value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out double value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out short value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out int value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out long value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out sbyte value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out float value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out string value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out ushort value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out uint value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

Read Method

Documentation for this section has not yet been entered.

public IValueReader Read (out ulong value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToBoolean Method

Documentation for this section has not yet been entered.

protected abstract bool ToBoolean (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToByte Method

Documentation for this section has not yet been entered.

protected abstract byte ToByte (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToChar Method

Documentation for this section has not yet been entered.

protected abstract char ToChar (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToDateTime Method

Documentation for this section has not yet been entered.

protected abstract DateTime ToDateTime (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToDecimal Method

Documentation for this section has not yet been entered.

protected abstract decimal ToDecimal (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToDouble Method

Documentation for this section has not yet been entered.

protected abstract double ToDouble (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToInt16 Method

Documentation for this section has not yet been entered.

protected abstract short ToInt16 (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToInt32 Method

Documentation for this section has not yet been entered.

protected abstract int ToInt32 (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToInt64 Method

Documentation for this section has not yet been entered.

protected abstract long ToInt64 (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToSByte Method

Documentation for this section has not yet been entered.

protected virtual sbyte ToSByte (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToSingle Method

Documentation for this section has not yet been entered.

protected abstract float ToSingle (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToString Method

Documentation for this section has not yet been entered.

protected abstract string ToString (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToUInt16 Method

Documentation for this section has not yet been entered.

protected virtual ushort ToUInt16 (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToUInt32 Method

Documentation for this section has not yet been entered.

protected virtual uint ToUInt32 (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0

ToUInt64 Method

Documentation for this section has not yet been entered.

protected virtual ulong ToUInt64 (T value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Cadenza.IO
Assembly: Cadenza (in Cadenza.dll)
Assembly Versions: 0.1.0.0